<!doctype html>
<html class="no-js fixed-layout">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>{present name="website_info.website_name"}{$website_info.website_name}{else/}IEMOO{/present}</title>
	<meta name="description" content='{present name="website_info.website_keyword"}{$website_info.website_keyword}{else/}IEMOO{/present}'>
	<meta name="keywords" content='{present name="website_info.website_description"}{$website_info.website_description}{else/}IEMOO{/present}'>
	<!-- Set render engine for 360 browser -->
	<meta name="renderer" content="webkit">
	<!-- No transcoding by search engine-->
	<meta http-equiv="Cache-Control" content="no-transform"/>
	<meta http-equiv="Cache-Control" content="no-siteapp"/>
	<link rel="icon" type="image/png" href="/static/assets/i/favicon.png">
	<!-- Add to homescreen for Chrome on Android -->
	<meta name="mobile-web-app-capable" content="yes">
	<link rel="icon" sizes="192x192" href="/static/assets/i/app-icon72x72@2x.png">
	<!-- Add to homescreen for Safari on iOS -->
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-title" content="Amaze UI"/>
	<link rel="apple-touch-icon-precomposed" href="/static/assets/i/app-icon72x72@2x.png">
	<!-- Tile icon for Win8 (144x144 + tile color) -->
	<meta name="msapplication-TileImage" content="/static/assets/i/app-icon72x72@2x.png">
	<meta name="msapplication-TileColor" content="#0e90d2">
	<link rel="stylesheet" href="/static/assets/css/amazeui.css">
	<link rel="stylesheet" href="/static/assets/css/app.css">
	<link rel="stylesheet" href="/static/admin/css/admin.css">
	{block name="css"}{/block}
</head>
<body>
<!--[if lte IE 9]>
<p class="browsehappy">
	你正在使用
	<strong>过时</strong>的浏览器，Amaze UI 暂不支持。 请 <a href="http://browsehappy.com/" target="_blank">升级浏览器</a>  以获得更好的体验！
</p>
<![endif]-->
<header class="am-topbar am-topbar-inverse admin-header">
	<div class="am-topbar-brand">
		<i class="am-icon-cog am-icon-spin"></i> <strong>{present name="website_info.website_name"}{$website_info.website_name}{else/}IEMOO{/present}</strong> <small>管理系统</small>
	</div>

	<button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only" data-am-collapse="{target: '#topbar-collapse'}"><span class="am-sr-only">导航切换</span><span class="am-icon-bars"></span></button>

	<div class="am-collapse am-topbar-collapse" id="topbar-collapse">
		<ul class="am-nav am-nav-pills am-topbar-nav admin-header-nav">
			<li class="{eq name='$menu_topid' value='0'}am-active{/eq}" data-nav="index"><a href="{:url('admin/index/index')}">开始</a></li>
			{volist name="admin_menu" id="vo"}
			<li class="topbar-nav {eq name='$menu_topid' value='$vo.id'}am-active{/eq}" data-nav="{$vo.name}"><a href="javascript:;"><i class="{$vo.icon} am-icon-fw"></i> {$vo.title}</a></li>
			{/volist}
		</ul>
		
		<div class="am-topbar-right">
			<ul class="am-nav am-nav-pills am-topbar-nav am-topbar-right admin-header-list">
				<li><a href="/" target="_blank"><span class="am-icon-home"></span> 首页</a></li>
				<li><a href="{:url('admin/Index/recycle')}" class="ajax-get" data-param=""><span class="am-icon-recycle"></span> 刷新缓存</a></li>
				<li class="am-dropdown" data-am-dropdown>
					<a class="am-dropdown-toggle" data-am-dropdown-toggle href="javascript:;">
						<img {empty name="$admin_info.avatar"}src="/static/common/images/avatar.png"{else/}src="{$admin_info.avatar|get_thumb=###,200,200}"{/empty} alt="{$admin_info.username}" class="am-circle admin-header-avatar"> {$admin_info.username} <span class="am-icon-caret-down"></span>
					</a>
					<ul class="am-dropdown-content">
						<li><a href="{:url('admin/login/logout')}" class="ajax-confim"><span class="am-icon-power-off"></span> 退出</a></li>
					</ul>
				</li>
			</ul>
		</div>
	</div>
</header>


<div class="am-cf admin-main">
	<!-- sidebar start -->
	<div class="admin-sidebar am-offcanvas" id="admin-offcanvas">
		<div class="am-offcanvas-bar admin-offcanvas-bar">
			{volist name="admin_menu" id="vo"}
				<div class="sidebar-nav nav-{$vo.name} {eq name='$vo.id' value='$menu_topid'} am-in{/eq}">
				{notempty name="$vo.children"}
					{volist name="$vo.children" id="v"}
					<ul class="am-list admin-sidebar-list">
						{empty name="$v.children"}
						<li {in name='$v.id' value='$menu_pid'} class="am-active"{/in}><a href="{:url($v.name)}"><i class="{$v.icon} am-icon-fw"></i> {$v.title}</a></li>
						{else/}
						<li class="admin-parent">
							<a class="am-cf" data-am-collapse="{target: '#collapse-nav-{$v.id}'}"><i class="{$v.icon} am-icon-fw"></i> {$v.title}<span class="am-icon-angle-right am-fr am-margin-right"></span></a>
							<ul class="am-list am-collapse admin-sidebar-sub {in name='$v.id' value='$menu_pid'} am-in{/in}" id="collapse-nav-{$v.id}">
								{volist name="$v.children" id="nav"}
								<li {in name='$nav.id' value='$menu_pid'}class="am-active"{/in}><a href="{:url($nav.name)}"><i class="{$nav.icon} am-icon-fw"></i> {$nav.title}</a></li>
								{/volist}
							</ul>
						</li>
						{/empty}
					</ul>
					{/volist}
				{/notempty}
				</div>
			{/volist}
			
		</div>

		{block name="siderbar"}{/block}


		<div class="am-panel am-panel-default admin-sidebar-panel">
			<div class="am-panel-hd">
				<i class="am-icon-bookmark"></i> 公告
			</div>
			<div class="am-panel-bd">
				<div class="am-text-sm">
					测试中有任何问题，可以加群反馈，QQ群：4863456
				</div>	
			</div>
		</div>
		<div class="am-panel am-panel-default admin-sidebar-panel">
			<div class="am-panel-bd">			
				{present name="website_info.website_logo"}
				<p><img src="{$website_info.website_logo}"  class="am-img-responsive am-center" ></p>
				{/present}
				<ul class="iemoo-copyright">
					<li><i class="am-icon-fire am-icon-fw"></i> 易魔科技</li>						
					<li><i class="am-icon-qq am-icon-fw"></i> <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=67180273&site=qq&menu=yes">67180273</a></li>
					<li><i class="am-icon-envelope am-icon-fw"></i> i@iemoo.com</li>
					<li><i class="am-icon-internet-explorer am-icon-fw"></i> <a target="_blank" href="http://www.iemoo.com">www.iemoo.com</a></li>
				</ul>
			</div>
		</div>
	</div>
	<!-- sidebar end -->
	<!-- content start -->
	<div class="admin-content">
		<div class="admin-content-body">
			{block name="body"}{/block}
		</div>
		<footer class="admin-content-footer">
			<hr>
			<p class="am-text-center">&copy;2019 iemoo.com</p>
		</footer>
	</div>
	<!-- content end -->
</div>
<a href="#" class="am-icon-btn am-icon-th-list am-show-sm-only admin-menu" data-am-offcanvas="{target: '#admin-offcanvas'}"></a>

<!--[if lte IE 8 ]>
<script src="http://libs.baidu.com/jquery/1.11.3/jquery.min.js"></script>
<script src="/static/assets/js/modernizr.js"></script>
<script src="/static/assets/js/amazeui.ie8polyfill.min.js"></script>
<![endif]-->
<!--[if (gte IE 9)|!(IE)]><!-->
<script src="/static/assets/js/jquery.min.js"></script>
<!--<![endif]-->

<script src="/static/assets/js/amazeui.js"></script>
<script src="/static/lib/layui/layui.js"></script>
<script src="/static/common/js/common.js"></script>
<script src="/static/admin/js/app.js"></script>
{block name="js"}{/block}
<!--页面JS脚本-->
{block name="script"}{/block}

<script>
$(document).ready(function(){

});
</script>
</body>
</html>